package com.cndcare.msc.protobuf;

import lombok.Getter;

@Getter
public enum CmdEnum {
    AUTH(1, "验证"),
    PING(2, "ping"),
    PONG(3, "pong"),
    UPLOAD_DATA(4, "上传数据"),
    PUSH_DATA(5, "推送数据"),
    WARN_DATA(6, "推送告警数据"),
    REFRESH_ALL(7, "刷新所有状态信息"),
    DANGER(8, "警报"),
    AUTH_BACK(11, "验证返回"),
    UPLOAD_DATA_BACK(14, "上传数据返回"),
    PUSH_DATA_BACK(15, "推送数据后返回");

    private Integer code;
    private String msg;

    CmdEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
